package com.bluesky.plum.uimodels.render.swing.components;

import javax.swing.JTextArea;

import com.bluesky.plum.uimodels.standard.components.TextArea;

public class STextArea extends TextArea {

	JTextArea textArea;

	public STextArea() {
		textArea = new JTextArea();
		textArea.setSize(10,10);

	}

	@Override
	public Object getNativeComponent() {

		return textArea; 
	}

	@Override
	public void setCaption(String caption) {
		super.setCaption(caption);
		textArea.setText(caption);

	}

}
